package com.macro.mall.mapper;

import com.macro.mall.model.BasicSpsTemplate;
import com.macro.mall.model.BasicSpsTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicSpsTemplateMapper {
    long countByExample(BasicSpsTemplateExample example);

    int deleteByExample(BasicSpsTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicSpsTemplate record);

    int insertSelective(BasicSpsTemplate record);

    List<BasicSpsTemplate> selectByExample(BasicSpsTemplateExample example);

    BasicSpsTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicSpsTemplate record, @Param("example") BasicSpsTemplateExample example);

    int updateByExample(@Param("record") BasicSpsTemplate record, @Param("example") BasicSpsTemplateExample example);

    int updateByPrimaryKeySelective(BasicSpsTemplate record);

    int updateByPrimaryKey(BasicSpsTemplate record);

    List<BasicSpsTemplate> selectByUrl(String url);

    List<BasicSpsTemplate> list(String templateName);
}